package com.chenjian.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author chenjian
 * @Package
 * @Description:
 * @date 2019/7/3 17:20
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "swagger")
public class Swagger2ConfigProperties {


    /**
     * Show apis allowed,default false
     */
    private Boolean showAllow = false;

    /**
     * Apis request ip and ports
     */
    private String host = "localhost:8080";

    /**
     * Swagger2 page show title,default 'APIs'
     */
    private String title = "APIs";

    /**
     * Default api version '1.0.0'
     */
    private String version = "1.0.0";

    /**
     * Apis describe
     */
    private String desc = "Interface List";

    /**
     * Basic Scanning Strength
     */
    private String basePackage = "com";

    /**
     * Terms of service url
     */
    private String termUrl = "localhost:8080";


}
